package com.scau.hwadee.examination.service;

import com.alibaba.fastjson.JSONArray;
import com.github.pagehelper.PageInfo;
import com.scau.hwadee.examination.entity.*;

/**
 * @author YHX
 * @date 2019/8/3 14:26
 * description
 */
public interface ProfessionalDeclarationService {

    PageInfo<Major> getAllMajorsOfSchool(int pageNum, int pageSize, String schoolId);

    PageInfo<Course> getAllCourseOfMajor(int pageNum, int pageSize, String majorId);

    int insertApplicationprofessionalplanadjustment(Applicationprofessionalplanadjustment app);

    int insertMajorplanadjustcourse(Majorplanadjustcourse majorplanadjustcourse);

    PageInfo<Majorrenewapproval> getAllApprovedMajorRenewApproval(int pageNum, int pageSize, String schoolId);

    int insertMajorRenewApprovalList(JSONArray jsonArray);

    PageInfo<Major> listAllMajorExaminerIsNotTheSchoolId(int pageNum, int pageSize, String schoolId);

    int insertMajorExpandApprovalList(String param);

    int insertNewProfessionalDeclaration(Newmajordeclaration newmajordeclaration);

    int insertNewMajorCourseOptionalRelation(Courseoptionalrelation courseoptionalrelation);

    PageInfo<Applicationprofessionalplanadjustment> getAllApplicationprofessionalplanadjustment(int pageNum, int pageSize);

    int updateApplicationprofessionalplanadjustment(Applicationprofessionalplanadjustment applicationprofessionalplanadjustment);

    PageInfo<Majorrenewapproval> getAllMajorrenewapproval(int pageNum, int pageSize);

    int updateMajorrenewapproval(Majorrenewapproval majorrenewapproval);

    PageInfo<Majorexpandapproval> getAllMajorexpandapproval(int pageNum, int pageSize);

    int updateMajorexpandapproval(Majorexpandapproval majorexpandapproval);

    PageInfo<Newmajordeclaration> getAllNewMajorDeclaration(int pageNum, int pageSize);

    int updateNewMajorDeclaration(Newmajordeclaration newmajordeclaration);
}
